package com.gz.spring.annotation;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

//1.@Target(ElementType.TYPE)指定我们的ComponentScan注解可以修饰Type程序元素
//2.@Retention(RetentionPolicy.RUNTIME)指定ComponentScan注解保留范围 运行中作用

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ComponentScan {
    String value() default "";
}
